<%--
  Created by IntelliJ IDEA.
  User: FHL
  Date: 2020/12/11
  Time: 16:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改书籍页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <%--引入Bookstrap前端框架--%>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="row clearfix">
    <div class="col-md-12 column">
        <div class="page-header">
            <h2>
                <small>修改书籍信息</small>
            </h2>
        </div>
    </div>
</div>
<form action="${pageContext.request.contextPath}/book/updateBook" method="post">
    <input type="hidden" name="bookID" value="${QBook.bookID}">
    <div class="from-group">
        <label>书籍名称：</label>
        <input type="text" name="bookName" value="${QBook.bookName}" class="from-control" required>
        <%--"required"可以保证在用户输入完所有信息后才能提交（而且没写完时有提示哦）--%>
    </div>
    <div class="from-group">
        <label>书籍数量：</label>
        <input type="text" name="bookCounts" value="${QBook.bookCounts}" class="from-control" required>
    </div>
    <div class="from-group">
        <label>书籍描述：</label>
        <input type="text" name="detail" value="${QBook.detail}" class="from-control" required>
    </div>
    <div class="from-group">
        <input type="submit" class="from-control" value="修改">
    </div>

</form>
</div>
</body>
</html>